
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>《Petite-Vue源码剖析》简介 · petite-vue源码剖析</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="^_^肥仔John">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-chapter-fold/chapter-fold.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-theme-comscore/test.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="0_intro/1_reason_for_source_reading.html" />
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        <li class="header">前言</li>
        
        
    
        <li class="chapter active" data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    《Petite-Vue源码剖析》简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="0_intro/1_reason_for_source_reading.html">
            
                <a href="0_intro/1_reason_for_source_reading.html">
            
                    
                    为什么要读源码
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">在线渲染</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="1_online_rendering/0_intro.html">
            
                <a href="1_online_rendering/0_intro.html">
            
                    
                    章节介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="1_online_rendering/1_start_from_static_view.html">
            
                <a href="1_online_rendering/1_start_from_static_view.html">
            
                    
                    从静态视图首次渲染开始
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="1_online_rendering/2_initial_rendering_and_rerendering_for_v-if.html">
            
                <a href="1_online_rendering/2_initial_rendering_and_rerendering_for_v-if.html">
            
                    
                    条件v-if的首次渲染和重新渲染
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="1_online_rendering/3_initial_rendering_and_rerendering_for_v-for.html">
            
                <a href="1_online_rendering/3_initial_rendering_and_rerendering_for_v-for.html">
            
                    
                    循环v-for的首次渲染和重新渲染
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="1_online_rendering/4_directives/1_attribute_binding.html">
            
                <a href="1_online_rendering/4_directives/1_attribute_binding.html">
            
                    
                    属性绑定v-bind的工作原理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="1_online_rendering/4_directives/2_event_binding.html">
            
                <a href="1_online_rendering/4_directives/2_event_binding.html">
            
                    
                    事件绑定v-on的工作原理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="1_online_rendering/4_directives/3_bidirectional_binding.html">
            
                <a href="1_online_rendering/4_directives/3_bidirectional_binding.html">
            
                    
                    双向绑定v-model的工作原理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="1_online_rendering/4_directives/4_ref.html">
            
                <a href="1_online_rendering/4_directives/4_ref.html">
            
                    
                    特殊指令ref的工作原理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9" data-path="1_online_rendering/5_tips_for_template.html">
            
                <a href="1_online_rendering/5_tips_for_template.html">
            
                    
                    优化手段template的原理和使用技巧
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">响应式系统</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="2_reactivity_system/0_intro.html">
            
                <a href="2_reactivity_system/0_intro.html">
            
                    
                    章节介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="2_reactivity_system/1_reactive_object_array.html">
            
                <a href="2_reactivity_system/1_reactive_object_array.html">
            
                    
                    逐行解读reactive如何构建对象和数组的响应式对象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="2_reactivity_system/2_reactive_map_set.html">
            
                <a href="2_reactivity_system/2_reactive_map_set.html">
            
                    
                    逐行解读reactive如何构建Map和Set的响应式对象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.4" data-path="2_reactivity_system/3_register_side_effect.html">
            
                <a href="2_reactivity_system/3_register_side_effect.html">
            
                    
                    逐行解读effect如何注册副作用函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.5" data-path="2_reactivity_system/4_cleanup_algorithm.html">
            
                <a href="2_reactivity_system/4_cleanup_algorithm.html">
            
                    
                    依赖清理优化算法详解-算法思路
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.6" data-path="2_reactivity_system/5_smi.html">
            
                <a href="2_reactivity_system/5_smi.html">
            
                    
                    依赖清理优化算法详解-基于JavaScript引擎的SMI进一步压榨性能
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.7" data-path="2_reactivity_system/6_trigger_and_scheduler.html">
            
                <a href="2_reactivity_system/6_trigger_and_scheduler.html">
            
                    
                    逐行解读trigger和调度器
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">沙箱模型</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="3_sandbox.html">
            
                <a href="3_sandbox.html">
            
                    
                    模板表达式的沙箱模型
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >《Petite-Vue源码剖析》简介</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#&#x300A;petite-vue&#x6E90;&#x7801;&#x5256;&#x6790;&#x300B;&#x7B80;&#x4ECB;"><b>1. </b>&#x300A;Petite-Vue&#x6E90;&#x7801;&#x5256;&#x6790;&#x300B;&#x7B80;&#x4ECB;</a></li><ul><li><span class="title-icon "></span><a href="#petite-vue&#x7684;&#x7279;&#x70B9;"><b>1.1. </b>Petite-Vue&#x7684;&#x7279;&#x70B9;</a></li><li><span class="title-icon "></span><a href="#&#x9605;&#x8BFB;&#x524D;&#x7684;&#x529F;&#x8BFE;"><b>1.2. </b>&#x9605;&#x8BFB;&#x524D;&#x7684;&#x529F;&#x8BFE;</a></li><li><span class="title-icon "></span><a href="#&#x5EFA;&#x8BAE;&#x98DF;&#x7528;&#x65B9;&#x5F0F;"><b>1.3. </b>&#x5EFA;&#x8BAE;&#x98DF;&#x7528;&#x65B9;&#x5F0F;</a></li><li><span class="title-icon "></span><a href="#&#x5173;&#x4E8E;&#x4F5C;&#x8005;"><b>1.4. </b>&#x5173;&#x4E8E;&#x4F5C;&#x8005;</a></li></ul></ul></div><h1 id="&#x300A;petite-vue&#x6E90;&#x7801;&#x5256;&#x6790;&#x300B;&#x7B80;&#x4ECB;"><a name="&#x300A;petite-vue&#x6E90;&#x7801;&#x5256;&#x6790;&#x300B;&#x7B80;&#x4ECB;" class="anchor-navigation-ex-anchor" href="#&#x300A;petite-vue&#x6E90;&#x7801;&#x5256;&#x6790;&#x300B;&#x7B80;&#x4ECB;"><i class="fa fa-link" aria-hidden="true"></i></a>1. &#x300A;Petite-Vue&#x6E90;&#x7801;&#x5256;&#x6790;&#x300B;&#x7B80;&#x4ECB;</h1>
<p>Petite-Vue&#x662F;&#x7531;&#x5C24;&#x96E8;&#x6EAA;&#x4EB2;&#x81EA;&#x64CD;&#x5200;&#x8BBE;&#x8BA1;&#x5F00;&#x53D1;&#xFF0C;&#x9488;&#x5BF9;&#x5386;&#x53F2;&#x975E;&#x524D;&#x540E;&#x7AEF;&#x5206;&#x79BB;&#x9879;&#x76EE;&#x4E13;&#x95E8;&#x6253;&#x9020;&#x7684;&#xFF0C;&#x57FA;&#x4E8E;Vue3&#x7684;@vue/reactivity&#x63D0;&#x4F9B;&#x4E0E;Vue&#x4E00;&#x81F4;&#x7684;&#x54CD;&#x5E94;&#x5F0F;&#x5F00;&#x53D1;&#x6A21;&#x5F0F;&#x7684;&#x6E10;&#x8FDB;&#x5F0F;&#x524D;&#x7AEF;&#x5F00;&#x53D1;&#x6846;&#x67B6;&#x3002;
&#x672C;&#x5C0F;&#x518C;&#x5B50;&#x5C06;&#x901A;&#x8FC7;&#x7ED3;&#x5408;&#x4E00;&#x4E2A;&#x4E2A;&#x793A;&#x4F8B;&#x9010;&#x884C;&#x89E3;&#x8BFB;&#x6E90;&#x7801;&#xFF0C;&#x5E76;&#x5BF9;&#x76F8;&#x5173;&#x6280;&#x672F;&#x8FDB;&#x884C;&#x6269;&#x5C55;&#x8BB2;&#x89E3;&#xFF08;&#x5982;petite-vue&#x548C;React&#x7684;diff&#x7B97;&#x6CD5;&#x5BF9;&#x6BD4;&#x3001;@vue/reactivity&#x5982;&#x4F55;&#x901A;&#x8FC7;&#x6D4F;&#x89C8;&#x5668;&#x5F15;&#x64CE;&#x7684;SMI&#x4F18;&#x5316;effect&#x6E05;&#x7406;&#x7B97;&#x6CD5;&#x7B49;&#xFF09;&#xFF0C;&#x65E2;&#x80FD;&#x66F4;&#x597D;&#x5730;&#x7406;&#x89E3;petite-vue&#x7684;&#x5DE5;&#x4F5C;&#x539F;&#x7406;&#xFF0C;&#x540C;&#x65F6;&#x4E5F;&#x4E3A;&#x540E;&#x7EED;&#x9605;&#x8BFB;Vue3&#x6E90;&#x7801;&#x4F5C;&#x94FA;&#x57AB;&#x3002;</p>
<h2 id="petite-vue&#x7684;&#x7279;&#x70B9;"><a name="petite-vue&#x7684;&#x7279;&#x70B9;" class="anchor-navigation-ex-anchor" href="#petite-vue&#x7684;&#x7279;&#x70B9;"><i class="fa fa-link" aria-hidden="true"></i></a>1.1. Petite-Vue&#x7684;&#x7279;&#x70B9;</h2>
<p>&#x76F8;&#x5BF9;Vue3&#x800C;&#x8A00;&#xFF0C;Petite-Vue&#x6709;&#x5982;&#x4E0B;&#x7279;&#x70B9;&#xFF1A;</p>
<ol>
<li>&#x63D0;&#x4F9B;&#x7CBE;&#x7B80;&#x7248;&#x7684;&#x4E0E;Vue3&#x8BED;&#x6CD5;&#x548C;&#x8868;&#x73B0;&#x4E00;&#x81F4;&#x7684;&#x6A21;&#x677F;&#x8BED;&#x8A00;&#xFF1B;</li>
<li>&#x4EC5;&#x7531;&#x6E32;&#x67D3;&#x6A21;&#x5757;&#x548C;&#x54CD;&#x5E94;&#x5F0F;&#x7CFB;&#x7EDF;&#x6A21;&#x5757;&#x7EC4;&#x6210;&#xFF1B;</li>
<li>&#x6E32;&#x67D3;&#x6A21;&#x5757;&#x6CA1;&#x6709;&#x91C7;&#x7528;&#x865A;&#x62DF;DOM&#xFF0C;&#x800C;&#x662F;&#x91C7;&#x7528;&#x5728;&#x7EBF;&#x89E3;&#x6790;&#x6E32;&#x67D3;&#x7684;&#x65B9;&#x5F0F;&#xFF1B;</li>
<li>&#x54CD;&#x5E94;&#x5F0F;&#x7CFB;&#x7EDF;&#x6A21;&#x5757;&#x5BF9;&#x5916;&#x66B4;&#x9732;<code>reactive</code>&#x63A5;&#x53E3;&#x63D0;&#x4F9B;&#x6784;&#x5EFA;&#x5168;&#x5C40;&#x72B6;&#x6001;&#x7BA1;&#x7406;&#x5668;&#x7684;&#x80FD;&#x529B;&#xFF1B;</li>
<li>&#x4EE3;&#x7801;&#x5E93;&#x4F53;&#x79EF;&#x5728;gzip&#x538B;&#x7F29;&#x540E;&#x4E0D;&#x5230;7KB&#xFF0C;&#x5341;&#x5206;&#x9002;&#x5408;&#x4E0E;&#x9879;&#x76EE;&#x5DF2;&#x6709;&#x7684;LayUI&#x3001;MiniUI&#x7B49;UI&#x5E93;&#x642D;&#x914D;&#x4F7F;&#x7528;&#x3002;</li>
</ol>
<h2 id="&#x9605;&#x8BFB;&#x524D;&#x7684;&#x529F;&#x8BFE;"><a name="&#x9605;&#x8BFB;&#x524D;&#x7684;&#x529F;&#x8BFE;" class="anchor-navigation-ex-anchor" href="#&#x9605;&#x8BFB;&#x524D;&#x7684;&#x529F;&#x8BFE;"><i class="fa fa-link" aria-hidden="true"></i></a>1.2. &#x9605;&#x8BFB;&#x524D;&#x7684;&#x529F;&#x8BFE;</h2>
<p>&#x7531;&#x4E8E;&#x672C;&#x5C0F;&#x518C;&#x5B50;&#x4EE5;&#x6E90;&#x7801;&#x5206;&#x6790;&#x4E3A;&#x4E3B;&#xFF0C;&#x5176;&#x4E2D;&#x5E76;&#x6CA1;&#x6709;&#x6D89;&#x53CA;Petite-Vue&#x4F7F;&#x7528;&#x65B9;&#x5F0F;&#x7684;&#x8BB2;&#x89E3;&#xFF0C;&#x6240;&#x4EE5;&#x5EFA;&#x8BAE;&#x8BFB;&#x8005;&#x5728;&#x9605;&#x8BFB;&#x4E4B;&#x524D;&#x5148;&#x5230;&#x5B98;&#x7F51;&#x67E5;&#x9605;&#x4E86;&#x89E3;Petite-Vue&#x7684;&#x57FA;&#x672C;&#x4F7F;&#x7528;&#x65B9;&#x5F0F;&#x548C;&#x6982;&#x5FF5;&#x3002;</p>
<ul>
<li>GitHub: <a href="https://github.com/vuejs/petite-vue" target="_blank">https://github.com/vuejs/petite-vue</a></li>
<li>Gitee: <a href="https://gitee.com/mirrors/petite-vue" target="_blank">https://gitee.com/mirrors/petite-vue</a></li>
</ul>
<h2 id="&#x5EFA;&#x8BAE;&#x98DF;&#x7528;&#x65B9;&#x5F0F;"><a name="&#x5EFA;&#x8BAE;&#x98DF;&#x7528;&#x65B9;&#x5F0F;" class="anchor-navigation-ex-anchor" href="#&#x5EFA;&#x8BAE;&#x98DF;&#x7528;&#x65B9;&#x5F0F;"><i class="fa fa-link" aria-hidden="true"></i></a>1.3. &#x5EFA;&#x8BAE;&#x98DF;&#x7528;&#x65B9;&#x5F0F;</h2>
<p>&#x672C;&#x518C;&#x5B50;&#x5C06;Petite-Vue&#x62C6;&#x5206;&#x4E3A;&#x5728;&#x7EBF;&#x6E32;&#x67D3;&#x548C;&#x54CD;&#x5E94;&#x5F0F;&#x7CFB;&#x7EDF;&#x4E24;&#x5927;&#x7EC4;&#x6210;&#x6A21;&#x5757;&#xFF0C;&#x5E76;&#x7ED3;&#x5408;&#x793A;&#x4F8B;&#x5BF9;&#x6A21;&#x5757;&#x4E0B;&#x5404;&#x90E8;&#x5206;&#x8FDB;&#x884C;&#x6709;&#x5E8F;&#x6DF1;&#x5165;&#x7684;&#x9010;&#x884C;&#x4EE3;&#x7801;&#x5206;&#x6790;&#x8BB2;&#x89E3;&#x3002;</p>
<p>&#x5BF9;&#x4E8E;&#x5C1A;&#x672A;&#x63A5;&#x89E6;&#x8FC7;&#x6E90;&#x7801;&#x7684;&#x670B;&#x53CB;&#xFF0C;&#x5EFA;&#x8BAE;&#x4ECE;&#x5934;&#x9010;&#x7AE0;&#x8282;&#x9605;&#x8BFB;&#x3002;&#x53E6;&#x5916;&#xFF0C;&#x6700;&#x597D;&#x53EF;&#x4EE5;&#x642D;&#x914D;&#x6E90;&#x7801;&#x98DF;&#x7528;&#xFF0C;&#x6548;&#x679C;&#x66F4;&#x4F73;&#x3002;</p>
<p>&#x5BF9;&#x4E8E;&#x5DF2;&#x9605;&#x8BFB;&#x8FC7;&#x6E90;&#x7801;&#x7684;&#x670B;&#x53CB;&#xFF0C;&#x53EF;&#x4EE5;&#x9009;&#x53D6;&#x611F;&#x5174;&#x8DA3;&#x7684;&#x7AE0;&#x8282;&#x9605;&#x8BFB;&#xFF0C;&#x89E3;&#x51B3;&#x5728;&#x9605;&#x8BFB;&#x6E90;&#x7801;&#x65F6;&#x7684;&#x7591;&#x95EE;&#x548C;&#x52A0;&#x5F3A;&#x7406;&#x89E3;&#x3002;</p>
<p>&#x5BF9;&#x4E8E;&#x5DF2;&#x9605;&#x8BFB;&#x8FC7;&#x300A;Petite-Vue&#x6E90;&#x7801;&#x5256;&#x6790;&#x300B;&#x7CFB;&#x5217;&#x535A;&#x5BA2;&#x7684;&#x670B;&#x53CB;&#xFF0C;&#x672C;&#x5C0F;&#x518C;&#x5B50;&#x662F;&#x5728;&#x6B64;&#x7CFB;&#x5217;&#x535A;&#x5BA2;&#x7684;&#x57FA;&#x7840;&#x4E0A;&#x91CD;&#x65B0;&#x6574;&#x7406;&#x548C;&#x4FEE;&#x8BA2;&#xFF0C;&#x5E0C;&#x671B;&#x5728;&#x601D;&#x8DEF;&#x548C;&#x8868;&#x8FBE;&#x4E0A;&#x90FD;&#x8BA9;&#x5927;&#x5BB6;&#x6709;&#x66F4;&#x597D;&#x7684;&#x4F53;&#x9A8C;&#x3002;</p>
<p>&#x5BF9;&#x4E8E;&#x6240;&#x6709;&#x670B;&#x53CB;&#xFF0C;&#x82E5;&#x53D1;&#x73B0;&#x672C;&#x5C0F;&#x518C;&#x5B50;&#x4E2D;&#x5B58;&#x5728;&#x8BB2;&#x89E3;&#x9519;&#x8BEF;&#x6216;&#x4E0D;&#x6E05;&#x6670;&#x7684;&#x5730;&#x65B9;&#xFF0C;&#x8BF7;&#x8054;&#x7CFB;&#x6211;&#xFF0C;&#x6211;&#x4F1A;&#x53CA;&#x65F6;&#x66F4;&#x6B63;&#x3002;&#x8C22;&#x8C22;&#x5404;&#x4F4D;&#x7684;&#x652F;&#x6301;&#xFF01;</p>
<h2 id="&#x5173;&#x4E8E;&#x4F5C;&#x8005;"><a name="&#x5173;&#x4E8E;&#x4F5C;&#x8005;" class="anchor-navigation-ex-anchor" href="#&#x5173;&#x4E8E;&#x4F5C;&#x8005;"><i class="fa fa-link" aria-hidden="true"></i></a>1.4. &#x5173;&#x4E8E;&#x4F5C;&#x8005;</h2>
<ul>
<li>ID: &#x80A5;&#x4ED4;John&#xFF0C;&#x5168;&#x6808;&#x5DE5;&#x7A0B;&#x5E08;<ul>
<li>2010&#x5E74;&#x6BD5;&#x4E1A;&#x4E8E;&#x534E;&#x5357;&#x5E08;&#x8303;&#x5927;&#x5B66;&#x8BA1;&#x7B97;&#x673A;&#x79D1;&#x6280;&#x4E0E;&#x6280;&#x672F;&#x5B66;&#x9662;</li>
<li>SegmentFault&#x793E;&#x533A;&#x79FB;&#x52A8;&#x7AEF;&#x300A;CSS&#x9B54;&#x6CD5;&#x5802;&#x300B;&#x4E13;&#x680F;&#x4F5C;&#x8005;</li>
</ul>
</li>
<li>&#x8054;&#x7CFB;&#x65B9;&#x5F0F;&#xFF1A;<a href="mailto:fsjohnhuang@hotmail.com" target="_blank">fsjohnhuang@hotmail.com</a></li>
<li>&#x535A;&#x5BA2;&#x5730;&#x5740;(&#x591A;&#x5E73;&#x53F0;&#x540C;&#x6B65;&#x66F4;&#x65B0;)<ul>
<li>&#x535A;&#x5BA2;&#x56ED;&#xFF1A;<a href="https://www.cnblogs.com/fsjohnhuang/" target="_blank">https://www.cnblogs.com/fsjohnhuang/</a></li>
<li>SegmentFault&#xFF1A;<a href="https://segmentfault.com/u/fsjohnhuang" target="_blank">https://segmentfault.com/u/fsjohnhuang</a></li>
<li>&#x6398;&#x91D1;&#xFF1A;<a href="https://juejin.cn/user/888061124164509" target="_blank">https://juejin.cn/user/888061124164509</a></li>
</ul>
</li>
</ul>
<script type="text/javascript">
  /**
   * Donation
   */
  function showQR(){
    var rewardButton = document.getElementById('rewardButton')
    var qr = document.getElementById('QR')
    if (rewardButton) {
      rewardButton.style.display = 'none'
    }
    if (qr) {
      qr.style.display = 'block'
    }
  }
  setInterval(showQR, 1000)

  /**
   * Baidu analysis
   */
  var _hmt = _hmt || [];
  (function() {
    var hm = document.createElement("script");
    hm.src = "https://hm.baidu.com/hm.js?8bca1e3aa362a7f85dbe8304cff65225";
    var s = document.getElementsByTagName("script")[0]; 
    s.parentNode.insertBefore(hm, s);
  })();
</script>


<footer class="page-footer"><span class="copyright">Copyright &#xA9; fsjohnhuang 2022 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">File Modify: 
2022-04-26 09:45:30
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="0_intro/1_reason_for_source_reading.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 为什么要读源码">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"《Petite-Vue源码剖析》简介","level":"1.1","depth":1,"next":{"title":"为什么要读源码","level":"1.2","depth":1,"path":"0_intro/1_reason_for_source_reading.md","ref":"0_intro/1_reason_for_source_reading.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","-sharing","theme-comscore","search-pro","code","back-to-top-button","tbfed-pagefooter","chapter-fold","expandable-chapters","splitter","anchor-navigation-ex","donate","sharing-plus","baidu"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy fsjohnhuang 2022"},"chapter-fold":{},"splitter":{},"search-pro":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"code":{"copyButtons":true},"donate":{"alipay":"","alipayText":"支付宝打赏","button":"赞赏","title":"","wechat":"/petite-vue-source-reading/images/wechat.jpg","wechatText":"微信打赏"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":false,"showLevel":true},"theme-comscore":{},"back-to-top-button":{},"baidu":{"token":"8bca1e3aa362a7f85dbe8304cff65225"},"sharing":{"qq":false,"all":["qq","qzone","weibo","whatsapp","twitter","facebook","line"],"douban":false,"facebook":false,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"theme":"default","author":"^_^肥仔John","lang":"zh-cn","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"isbn":"","variables":{},"title":"petite-vue源码剖析","gitbook":"*","description":""},"file":{"path":"README.md","mtime":"2022-04-26T01:45:30.993Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2022-05-05T01:20:11.998Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-chapter-fold/chapter-fold.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-baidu/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-theme-comscore/test.js"></script>
        
    

    </body>
</html>

